using Dew.Math;
using Dew.Math.Editors;
using Dew.Math.Units;
using Dew.Signal;
using Dew.Signal.Units;
using Dew.Math.Tee;
using Dew.Signal.Tee;
private void button1_Click(
object sender, EventArgs e)
{
Vector b, X;
Vector Response =
new Vector(0);
b =
MtxExpr.Sin(
MtxExpr.Ramp(300, TMtxFloatPrecision.mvDouble, 0, 2 * Math.PI * 50 / 300));
SignalUtils.ArYuleWalkerSpectrum(b, Response, 4, 32);
X =
MtxExpr.Ramp(Response.Length, TMtxFloatPrecision.mvDouble, 0, 1.0 / Response.Length);
MtxVecTee.DrawIt(X, 20 *
MtxExpr.Log10(
MtxExpr.Abs(Response)),"",
false);
}